package com.kyyc.luff.core;

/**
 * 常量类
 */
public class Constant {

    /**
     * 服务名称
     */
    public static final String LUFF_EUREKA = "luff-eureka";
    public static final String LUFF_GATEWAY = "luff-gateway";
    public static final String LUFF_AUTH = "luff-auth";

    /**
     * 鉴权客户端缓存名称
     */
    public static final String OAUTH_CLIENT_CACHE = ":oauth_client_cache";


    /**
     * 用户ID字段
     */
    public static final String DETAILS_USER_ID = "user_id";

    /**
     * 用户名字段
     */
    public static final String DETAILS_USERNAME = "username";

    /**
     * 用户部门字段
     */
    public static final String DETAILS_DEPT_ID = "dept_id";

    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 0;

    /**
     * 失败标记
     */
    public static final Integer FAIL = 1;


}
